package com.zzc.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Entity
@Table(name = "client")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Client {

    @Id
    @Column(name = "client_id")
    private int clientId;
    @Column(name = "client_name")
    private String clientName;
    @Column(name = "client_phone")
    private String clientPhone;
    @Column(name = "client_address")
    private String clientAddress;
    @Column(name = "client_room")
    private String clientRoom;
    @Column(name = "client_gender")
    private int clientGender;
    @Column(name = "client_family")
    private String clientFamily;
    @Column(name = "family_phone")
    private String familyPhone;
    @Column(name = "client_birth")
    private String clientBirth;
    @Column(name = "client_picture")
    private String clientPicture;
    @Column(name = "medical_history")
    private String medicalHistory;

}
